package com.cdwm.mrp.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @version v1.0
 * @Author: lyw
 * @Date: 2021/8/3
 */
@Data
@TableName("tb_user")
public class User extends SuperEntity {


    @TableField("username")
    @ApiModelProperty("登录账号")
    private String username;

    @TableField("password")
    @ApiModelProperty("登录密码")
    private String password;

    @TableField("realname")
    @ApiModelProperty("真实姓名")
    private String realName;

    @TableField("age")
    @ApiModelProperty("年龄")
    private Integer age;

    @TableField("email")
    @ApiModelProperty("邮箱")
    private String email;

    @TableField("avatar")
    @ApiModelProperty("头像")
    private String avatar;

}
